package com.gmh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gmh.dto.LoginFormDTO;
import com.gmh.dto.Result;
import com.gmh.entity.User;

import javax.servlet.http.HttpSession;

public interface IUserService extends IService<User> {
    Result sendCode(String phone, HttpSession session);

    Result login(LoginFormDTO loginForm, HttpSession session);

    Result sign();

    Result signCount();

    Result loginPassword(LoginFormDTO loginForm, HttpSession session);

    Result updatePassword(LoginFormDTO loginForm, HttpSession session);

    Result me();

    Result logout();
}

